<?php
// no direct access
defined('_JEXEC') or die('Restricted access');

$doc =& JFactory::getDocument();
$somecss = '#rt-header .rt-omega {margin-right:0;}#rt-header .rt-alpha {margin-left:20px;}';
$doc->addStyleDeclaration($somecss);

#rt-header {}
$socialmediatitle	= $params->get('socialmediatitle', '');
$socialmediaicon	= $params->get('socialmediaicon', '1');
$logintitle			= $params->get('logintitle', '');
$loginicon			= $params->get('loginicon', '1');
$searchtitle		= $params->get('searchtitle', '');
$searchicon			= $params->get('searchicon', '1');


?>

<ul class="modTop">
<?php
if($socialmediaicon == 1) { ?>
	<li><a href="#" class="socialicon tooltip" title="<?php echo $socialmediatitle ?>"><?php echo $socialmediatitle ?></a></li>
<?php } ?>
<?php
if($loginicon == 1) { ?>
	<li><a href="#" class="loginicon tooltip" title="<?php echo $logintitle ?>"><?php echo $logintitle ?></a></li>
<?php } ?>
<?php
if($searchicon == 1) { ?>
	<li><a href="#" class="searchicon tooltip" title="<?php echo $searchtitle ?>"><?php echo $searchtitle ?></a></li>
<?php } ?>
</ul>